<template>
  <div>
    <!-- 分页组件 -->
    <el-pagination
      :current-page="page.current"
      :total="page.total"
      :page-size="page.size"
      :page-sizes="[10, 20, 50, 100]"
      style="padding: 20px 0"
      layout="total,prev, pager, next, sizes,jumper"
      @current-change="crud.initTable"
      @size-change="crud.handleSizeChange"
    />
  </div>
</template>

<script>
import { pagination } from '@/mixins/crud'
export default {
  mixins: [pagination()]
}
</script>

<style scoped>
</style>
